home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
mardek_rpg.swf
/
scripts
/
frame_20
/
DoAction.as
Wrap
Text File
|
2011-09-19
|
5KB
|
136 lines
function §\x01\x02§()
{
return 1779 % 511 * 5;
}
var §\x01§ = -381 + "\x01\x02"();
while(true)
{
if(eval("\x01") != 849)
{
if(eval("\x01") != 769)
{
if(eval("\x01") != 49)
{
if(eval("\x01") == 28)
{
set("\x01",eval("\x01") + 21);
§§pop() extends §§pop() << (§§pop() >>> function §\x01\x02§()
{
return 1779 % 511 * 5;
});
break;
}
if(eval("\x01") == 143)
{
set("\x01",eval("\x01") + 553);
continue;
continue;
}
if(eval("\x01") != 817)
{
if(eval("\x01") != 696)
{
if(eval("\x01") != 743)
{
if(eval("\x01") != 853)
{
if(eval("\x01") != 61)
{
if(eval("\x01") != 669)
{
if(eval("\x01") != 594)
{
if(eval("\x01") == 840)
{
set("\x01",eval("\x01") - 641);
map = [[4,4,2,2,2,4,4],[4,2,1,1,1,2,4],[4,1,0,0,0,1,4],[4,10,0,6,0,10,4],[3,0,0,9,0,0,3],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,9,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];
tileset = "t_monastery";
area = "gz_monastery";
areaname = "Goznor - Monastery";
ambience = null;
A_sprites = [{name:"Medium Priest Gallovar",model:"s_Ypriest",x:3,y:5,walkspeed:-2,dir:"s",EN:["People","Gallovar"],elem:"WATER",conv:"c_Ypriest"},{name:"EXIT",model:"DOORY",x:3,y:10,dest:["goznor",18,14]}];
if(_root.plotVars.ZOMBIES == "GOZNOR")
{
A_sprites.push({name:"WALK_TRIGGER",model:"_trigger",x:3,y:9,ExecuteScript:function()
{
if(_root.plotVars.walkedIntoZGM == null)
{
_root.plotVars.walkedIntoZGM = 1;
DO_ACTIONS([["WALK",0,3],["UNFREEZE"],["TALK","s","Medium Priest Gallovar"]],"Medium Priest Gallovar",true);
}
}});
}
areaLoot = [];
foes = [];
btlChance = 0;
minSteps = 5;
levelrange = [1,1];
musicTrack = "HymnOfYalort";
clearmap = 1;
AreaSetup();
break;
}
if(eval("\x01") == 199)
{
set("\x01",eval("\x01") - 199);
break;
}
}
set("\x01",eval("\x01") + 259);
§§push(eval(function §\x01\x02§()
{
return 1779 % 511 * 5;
}));
}
set("\x01",eval("\x01") + 171);
continue;
}
set("\x01",eval("\x01") + 533);
§§push("\x0f");
continue;
}
set("\x01",eval("\x01") - 36);
§§push(!function §\x01\x02§()
{
return 1779 % 511 * 5;
});
continue;
}
set("\x01",eval("\x01") - 682);
var §§pop() = function §\x01\x02§()
{
return 1779 % 511 * 5;
};
continue;
}
set("\x01",eval("\x01") + 47);
§§push("\x0f");
§§push(1);
}
set("\x01",eval("\x01") - 148);
if(function §\x01\x02§()
{
return 1779 % 511 * 5;
})
{
set("\x01",eval("\x01") + 171);
}
}
set("\x01",eval("\x01") + 647);
continue;
continue;
}
set("\x01",eval("\x01") - 741);
if(function §\x01\x02§()
{
return 1779 % 511 * 5;
})
{
set("\x01",eval("\x01") + 21);
}
continue;
}
set("\x01",eval("\x01") - 80);
§§push(true);
}